#example7_3.py
#coding=utf-8
import pandas as pd
df=pd.read_excel('stock.xlsx',sheet_name='stock',
                 index_col='Date',nrows=5,usecols='A:E,G')
print(df)
df.to_excel("df存储为xlsx文件.xlsx")

